package com.kehutong.wxapi.request;

import org.coraframework.json.annotation.JSONField;

/**
 * 获取部门成员请求对象
 * @author: liukunlong
 * @date: 2021-03-08 16:25
 */
public class UserSimpleListRequest {
    /**
     * 调用接口凭证
     */
    private String accessToken;

    /**
     * 获取的部门id
     */
    @JSONField(name = "department_id")
    private Integer departmentId;

    /**
     * 是否递归获取子部门下面的成员：1-递归获取，0-只获取本部门
     */
    @JSONField(name = "fetch_child")
    private String fetchChild;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getFetchChild() {
        return fetchChild;
    }

    public void setFetchChild(String fetchChild) {
        this.fetchChild = fetchChild;
    }
}
